﻿
using System;
using System.Linq;
using System.Text;

using System.ComponentModel.DataAnnotations;

namespace Oliving.Edge.Model.Dto.XLT
{
    ///<summary>
    ///设备类型表
    ///</summary> 

    [Serializable]
    public class Base_EquipmentCategoryPageDto
    {
        public Base_EquipmentCategoryPageDto()
        {
        }

        /// <summary> 
        /// Desc:编号 
        /// Default: 
        /// Nullable:False 
        /// </summary> 

        public string CategoryId { get; set; }

        /// <summary> 
        /// Desc:项目ID 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "项目ID不能为空,内存长度超出 范围")]
        public string ProjectId { get; set; }

        public string ProName { get; set; }

        /// <summary> 
        /// Desc:类型名称 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "类型名称不能为空,内存长度超出 范围")]
        public string CategoryName { get; set; }

        /// <summary> 
        /// Desc:是否登记运行 1=登记 0=不登记 
        /// Default:((0)) 
        /// Nullable:False 
        /// </summary> 

        public int IsRunningLog { get; set; }

        /// <summary> 
        /// Desc:运行表单 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "运行表单不能为空,内存长度超出 范围")]
        public string RunningLogFrom { get; set; }

        /// <summary> 
        /// Desc:是否登记维护 1=登记 0=不登记 
        /// Default:((0)) 
        /// Nullable:False 
        /// </summary> 

        public int IsServiceLog { get; set; }

        /// <summary> 
        /// Desc:维护表单 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "维护表单不能为空,内存长度超出 范围")]
        public string ServiceLogFrom { get; set; }

        /// <summary> 
        /// Desc:是否登记保养 1=登记 0=不登记 
        /// Default:((0)) 
        /// Nullable:False 
        /// </summary> 

        public int IsMaintenanceLog { get; set; }

        /// <summary> 
        /// Desc:保养表单 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "保养表单不能为空,内存长度超出 范围")]
        public string MaintenanceLogFrom { get; set; }

        /// <summary> 
        /// Desc:软删除 0未删除，1 已删除 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public int? DeleteMark { get; set; }

        /// <summary> 
        /// Desc:排序 排序 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public int? SortCode { get; set; }

        /// <summary> 
        /// Desc:是否启用 0未启用，1启用 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public int? Enabled { get; set; }

        /// <summary> 
        /// Desc:填报时间 创建时间 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public DateTime? CreateDate { get; set; }

        /// <summary> 
        /// Desc:填报用户ID 创建的用户ID 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "填报用户ID 创建的用户ID不能为空,内存长度超出 范围")]
        public string CreateUserID { get; set; }

        /// <summary> 
        /// Desc:创建的用户名称 创建的用户名称 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "创建的用户名称 创建的用户名称不能为空,内存长度超出 范围")]
        public string CreateUserName { get; set; }

        /// <summary> 
        /// Desc:最后一次修改时间 修改日期 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public DateTime? ModifyDate { get; set; }

        /// <summary> 
        /// Desc:修改用户编号 修改用户编号 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "修改用户编号 修改用户编号不能为空,内存长度超出 范围")]
        public string ModifyUserId { get; set; }

        /// <summary> 
        /// Desc:修改的用户姓名 修改的用户姓名 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "修改的用户姓名 修改的用户姓名不能为空,内存长度超出 范围")]
        public string ModifyUserName { get; set; }

    }

}
